import {createStore} from 'vuex';

const store = createStore({
    state:{
        counter:0
    },
    mutations:{
        add(state){
            state.counter++;
            console.log(state.counter)
        }
    }
});

export default store;
